package com.pzh.guli.service.edu.service.imp;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.pzh.guli.service.edu.pojo.Video;
import com.pzh.guli.service.edu.mapper.VideoMapper;
import com.pzh.guli.service.edu.service.IVideoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 课程视频 服务实现类
 * </p>
 *
 * @author xzh
 * @since 2022-05-11
 */
@Service
public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements IVideoService {
    /**
     * 查云视频id
     * @param id videoId
     * @return 云视频id
     */
    @Resource
    private VideoMapper videoMapper;
    @Override
    public String selectSourceIdByVideoId(String id) {
        return videoMapper.selectSourceIdByVideoId(id);
    }
}
